package com.dot.service;
import com.dot.core.model.Tasks;
import com.dot.dao.TasksMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TasksService {
    @Autowired
    private TasksMapper testMapper;

    public void updTasks() {
        //开始时间
        Tasks tasks = new Tasks();
        tasks.setQdstarttime("09:00");
        tasks.setQdstarttimeV("08:30");
        testMapper.updTasks(tasks);
        Tasks tasks2 = new Tasks();
        tasks2.setQdstarttime("13:00");
        tasks2.setQdstarttimeV("16:00");
        testMapper.updTasks(tasks2);
        //结束时间
        Tasks tasks3 = new Tasks();
        tasks3.setQdendtime("12:00");
        tasks3.setQdendtimeV("13:30");
        testMapper.updTasksEnd(tasks3);

        Tasks tasks4 = new Tasks();
        tasks4.setQdendtime("18:00");
        tasks4.setQdendtimeV("20:30");
        testMapper.updTasksEnd(tasks4);


    }

}
